package com.zw.log;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.zw.log.mapper")
@EnableWebSecurity
@EnableFeignClients(basePackages = {"com.zw.api"})
public class LogApplication {
    public static void main( String[] args ) {
        SpringApplication.run(LogApplication.class,args);
    }
}
